}
s = m.section(form.GridSection, 'static_ipaddress', _('Static IP Addresses'),
- _('Static Addresses are not moved by vrrpd, they stay on the machine.') + '<br/>' +
- _('If your systems already have IPs and they can ping each other, you do not need this section'));
+ _('Static Addresses are not moved by vrrpd, they stay on the machine.') + ' ' +
+ _('If your systems already have IPs and they can ping ' +
+ 'each other, you do not need this section'));
s.anonymous = true;
s.addremove = true;
s.nodescriptions = true;
o.depends({ 'sync' : '1', 'sync_mode' : 'send' });
o = s.option(form.Value, 'sync_dir', _('Sync Directory'),
- _('Sender will send files to this location of receiver. Must be same on Master/Backup'));
+ _('Sender will send files to this location of receiver.') + ' ' +
+ _('Must be same on Master/Backup'));
o.default = '/usr/share/keepalived/rsync';
o.optional = false;
o.rmempty = false;
}
s = m.section(form.GridSection, 'static_routes', _('Static Routes'),
- _('Static Routes are not moved by vrrpd, they stay on the machine.') + '<br/>' +
- _('If you already have routes on your machines and your machines can ping each other, you don\'t need this section'));
+ _('Static Routes are not moved by vrrpd, they stay on the machine.') + '<br/>' +
+ _('If you already have routes on your machines and ' +
+ 'your machines can ping each other, you don\'t need this section'));
s.anonymous = true;
s.addremove = true;
s.nodescriptions = true;
var s, o;
s = m.section(form.GridSection, 'vrrp_script', _('VRRP Script'),
- _('Adds a script to be executed periodically. Its exit code will be recorded for all VRRP instances and sync groups which are monitoring it'));
+ _('Adds a script to be executed periodically.') + ' ' +
+ _('Its exit code will be recorded for all VRRP ' +
+ 'instances and sync groups which are monitoring it'));
s.anonymous = true;
s.addremove = true;
s.nodescriptions = true;
var real_servers;
s = m.section(form.GridSection, 'virtual_server', _('Virtual Server'),
- _('A virtual server is a service configured to listen on a specific virtual IP.') + '<br/>' +
- _('A VIP address migrates from one LVS router to the other during a failover,') +
- _('thus maintaining a presence at that IP address'));
+ _('A virtual server is a service configured to listen ' +
+ 'on a specific virtual IP.') + '<br/>' +
+ _('A VIP address migrates from one LVS router to the ' +
+ 'other during a failover, thus maintaining a presence ' +
+ 'at that IP address'));
s.anonymous = true;
s.addremove = true;
s.nodescriptions = true;
o.optional = false;
o = s.option(form.Value, 'weight', _('Weight'),
- _('When a weight is specified, instead of setting the vrrp_instance to the FAULT state in case of failure, ') +
- _('its priority will be increased or decreased by the weight when the interface is up or down'));
+ _('When a weight is specified, instead of setting the' +
+ 'vrrp_instance to the FAULT state in case of failure, ' +
+ 'its priority will be increased or decreased by the ' +
+ 'weight when the interface is up or down'));
o.optional = false;
o.datatype = 'uinteger';
o.optional = false;
o = s.taboption('general', form.ListValue, 'state', _('State'),
- _('Initial State. As soon as the other machine(s) come up,') +
- _('an election will be held and the machine with the highest "priority" will become MASTER.'));
+ _('Initial State.') + ' ' +
+ _('As soon as the other machine(s) come up, an election will be held.') + ' ' +
+ _('The machine with the highest "priority" will become MASTER.'));
o.value('MASTER', _('Master'));
o.value('BACKUP', _('Backup'));
o.optional = false;
o.value('60');
o = s.taboption('general', form.Flag, 'nopreempt', _('Disable Preempt'),
- _('Allows the lower priority machine to maintain the master role,') +
- _('even when a higher priority machine comes back online.') + ' ' +
+ _('Allows the lower priority machine to maintain the master role, even when a higher priority machine comes back online.') + ' ' +
_('For this to work, the initial state of this entry must be BACKUP.'));
o.optional = true;
o.default = false;
o.modalonly = true;
o = s.taboption('advanced', form.Flag, 'vmac_xmit_base', _('Use VMAC Base'),
- _('Send/Recv VRRP messages from base interface instead of VMAC interfac'));
+ _('Send/Recv VRRP messages from base interface instead of VMAC interface'));
o.default = false;
o.optional = true;
o.modalonly = true;
scripts = uci.sections('keepalived', 'track_script');
o = s.taboption('tracking', form.DynamicList, 'virtual_ipaddress_excluded', _('Exclude Virtual IP Address'),
- _('VRRP IP excluded from VRRP. For cases with large numbers (eg 200) of IPs on the same interface.') + ' ' +
+ _('VRRP IP excluded from VRRP.') + ' ' +
+ _('For cases with large numbers (eg 200) of IPs on the same interface.') + ' ' +
_('To decrease the number of packets sent in adverts, you can exclude most IPs from adverts.'));
o.modalonly = true;
if (ipaddress != '') {
m = new form.Map('keepalived');
s = m.section(form.GridSection, 'vrrp_sync_group', _('VRRP synchronization group'),
- _('VRRP Sync Group is an extension to VRRP protocol.') + '<br/>' +
- _('The main goal is to define a bundle of VRRP instance to get synchronized together') + '<br/>' +
- _('so that transition of one instance will be reflected to others group members'));
+ _('VRRP Sync Group is an extension to VRRP protocol.') + ' ' +
+ _('The main goal is to define a bundle of VRRP instance to get synchronized together so that transition of one instance will be reflected to others group members'));
s.anonymous = true;
s.addremove = true;
s.nodescriptions = true;